package diko_parent.eduservice.service;

import diko_parent.eduservice.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import diko_parent.eduservice.entity.chapter.ChapterVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author Emma-Li
 * @since 2020-09-25
 */

public interface EduChapterService extends IService<EduChapter> {
    List<ChapterVo> getAllChapter(String courseId);

    boolean removeChapterById(String id);


}
